import { ref, reactive, computed } from "vue"
import { toast } from "~/composables/util"

export function useInitUpload(opt = {}) {
 
        // 头像上传
        const previewList = ref([])
        const upLoadUrl = ref(null)
        const changeUrl = (e)=>{
            upLoadUrl.value =e
        }








    return {
        previewList,
        upLoadUrl,
        changeUrl
    }
}